home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / rcsdoc.zip / RCSMERGE.TXT < prev    next >
Text File  |  1991-11-10  |  5KB  |  131 lines

  1.  
  2.  
  3. RCSMERGE(1)                Unix Programmer's Manual                RCSMERGE(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      rcsmerge - merge RCS revisions
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      rrrcccsssmmmeeerrrgggeee [_o_p_t_i_o_n_s] _f_i_l_e
  11.  
  12. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  13.      rrrcccsssmmmeeerrrgggeee incorporates the changes between two revisions of  an  RCS  file
  14.      into the corresponding working file.
  15.  
  16.      A file name ending in ,,,vvv is an RCS file name, otherwise  a  working  file
  17.      name.   rrrcccsssmmmeeerrrgggeee derives the working file name from the RCS file name and
  18.      vice versa, as explained in cccooo(1).  A pair consisting of both an RCS  and
  19.      a working file name may also be specified.
  20.  
  21.      At least one revision must be specified with one of the options described
  22.      below,  usually ---rrr.  At most two revisions may be specified.  If only one
  23.      revision is specified, the latest is omitted, the latest revision on  the
  24.      default  branch (normally the highest branch on the trunk) is assumed for
  25.      the  second  revision.   Revisions  may  be  specified   numerically   or
  26.      symbolically.
  27.  
  28.      rrrcccsssmmmeeerrrgggeee prints a  warning  if  there  are  overlaps,  and  delimits  the
  29.      overlapping  regions  as  explained in cccooo\\\ ---jjj.  The command is useful for
  30.      incorporating changes into a checked-out revision.
  31.  
  32. OOOPPPTTTIIIOOONNNSSS
  33.  
  34.      ---kkk_s_u_b_s_t
  35.           Use _s_u_b_s_t style keyword substitution.  See cccooo(1) for  details.   For
  36.           example,  ---kkkkkk\\\  ---rrr111...111\\\  ---rrr111...222  ignores differences in keyword values
  37.           when merging the changes from 111...111 to 111...222.
  38.  
  39.      ---ppp[rev]]]
  40.           Send the result  to  standard  output  instead  of  overwriting  the
  41.           working file.
  42.  
  43.      ---qqq[rev]]]
  44.           Run quietly; do not print diagnostics.
  45.  
  46.      ---rrr[rev]]]
  47.           Merge with respect to revision _r_e_v.
  48.  
  49.      ---VVV_n  Emulate RCS version _n.  See cccooo(1) for details.
  50.  
  51. EEEXXXAAAMMMPPPLLLEEESSS
  52.      Suppose you have released revision 2.8 of fff...ccc.  Assume  furthermore  that
  53.      after  you  complete  an  unreleased revision 3.4, you receive updates to
  54.      release 2.8 from someone else.  To combine the updates to  2.8  and  your
  55.      changes  between  2.8  and  3.4, put the updates to 2.8 into file f.c and
  56.      execute
  57.  
  58.          rrrcccsssmmmeeerrrgggeee  ---ppp  ---rrr222...888  ---rrr333...444  fff...ccc  >>>fff...mmmeeerrrgggeeeddd...ccc
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                     \*(Dt                                    1
  65.  
  66.  
  67.  
  68. RCSMERGE(1)                Unix Programmer's Manual                RCSMERGE(1)
  69.  
  70.  
  71.      Then examine fff...mmmeeerrrgggeeeddd...ccc.  Alternatively, if you want to save the  updates
  72.      to  2.8 in the RCS file, check them in as revision 2.8.1.1 and execute cccooo
  73.      ---jjj:
  74.  
  75.          ccciii  ---rrr222...888...111...111  fff...ccc
  76.          cccooo  ---rrr333...444  ---jjj222...888:::222...888...111...111  fff...ccc
  77.  
  78.      As another example, the following  command  undoes  the  changes  between
  79.      revision 2.4 and 2.8 in your currently checked out revision in fff...ccc.
  80.  
  81.          rrrcccsssmmmeeerrrgggeee  ---rrr222...888  ---rrr222...444  fff...ccc
  82.  
  83.      Note the order of the arguments, and that fff...ccc will be overwritten.
  84.  
  85. DDDIIIAAAGGGNNNOOOSSSTTTIIICCCSSS
  86.      Exit status is 0 for no overlaps, 1 for some overlaps, 2 for trouble.
  87.  
  88. IIIDDDEEENNNTTTIIIFFFIIICCCAAATTTIIIOOONNN
  89.      Author: Walter F. Tichy.
  90.      Revision Number: 5.1; Release Date: 1990/08/29.
  91.      Copyright (c) 1982, 1988, 1989 by Walter F. Tichy.
  92.      Copyright (c) 1990 by Paul Eggert.
  93.  
  94. SSSEEEEEE AAALLLSSSOOO
  95.      ci(1),  co(1),  ident(1),  merge(1),  rcs(1),  rcsdiff(1),   rcsintro(1),
  96.      rlog(1), rcsfile(5)
  97.      Walter F. Tichy, RCS--A System for Version Control, _S_o_f_t_w_a_r_e--_P_r_a_c_t_i_c_e  &
  98.      _E_x_p_e_r_i_e_n_c_e 111555, 7 (July 1985), 637-654.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                     \*(Dt                                    2
  130.  
  131.